/*
** player.h for zomzom in /home/goupil_r//GameInLab/game1
** 
** Made by robin goupil
** Login   <goupil_r@epitech.net>
** 
** Started on  Thu Nov 15 17:22:17 2012 robin goupil
** Last update Sat Nov 17 23:12:18 2012 robin goupil
*/

#ifndef PLAYER_H_
# define PLAYER_H_

#include <SDL/SDL.h>

typedef struct	s_player
{
  t_biped	*biped;
  t_weapon	**weapon_list;
  t_weapon	*current_weapon;
} t_player;

t_biped		*create_biped(t_sprite *sprite, t_vec *pos, double acceleration, int health);
t_weapon	*create_weapon(SDL_Surface *sprite, int damage);
t_player	*create_player(t_sprite *sprite, t_vec *pos);
t_reticle	*create_reticle(t_sprite *sprite, t_vec *pos);
t_sprite	*new_sprite(char *path, int size);

#endif /* !PLAYER_H_ */
